import sys
from PyQt5.QtWidgets import QApplication
from ui.login_dialog import LoginDialog  # 根据你的实际路径调整

if __name__ == "__main__":
    app = QApplication(sys.argv)

    # 测试登录窗口
    login_window = LoginDialog(app)
    login_window.show()

    # 测试注册窗口（可选）
    # from ui.register_dialog import RegisterDialog
    # register_window = RegisterDialog(app)
    # register_window.show()

    sys.exit(app.exec_())